/************************************* * File: moneyTest.cpp * Author: Katherine Gibson * Date: 3/1/2016 * Section: N/A * E-mail: k38@umbc.edu * Description: * This file contains the example * usage of an implemented Money class * including the overloaded subtract *************************************/ #include "Money.h" #include using namespace std; int main() { Money cash(700, 65); Money bills(99,85); cout << "Before any paying of bills: " << endl; cash.Output("Cash"); bills.Output("Bills"); cash = cash - bills; cout << "After paying the bills from cash:" << endl; cash.Output("Cash"); return 0; }